// var base_url = 'http://localhost:10223/';
var base_url = 'http://111.229.174.170:80/api/';
// var base_url = 'http://49.232.165.19/api/';
// var prod_url = 'http://127.0.0.1:8000/api';
// var prod_url = 'http://139.159.233.159:8000/api/';
var prod_url = 'http://49.232.165.19/api/';
// var prod_url = 'http://10.10.11.254:8000/api/'
// var prod_url = 'http://172.16.14.28:8000/api/'
// var prod_url = 'http://111.229.174.170:80/api/';
// 开发配置
const dev = {
    url: base_url,
    // url:prod_url,
}

// 正式生产配置
const prod = {
    url: prod_url,
}
let NEW_API = {}
if (process.env.NODE_ENV === 'production') {
    NEW_API = prod
} else {
    NEW_API = dev
}
module.exports = NEW_API
